﻿namespace JunionRobotTaskManager.Utility
{
    public static class IntervalLoggerHelper
    {

            public static void Logger (ILogger logger, int interval, string message)
            {
               if (DateTime.Now.Second % interval== 0)
                logger.LogInformation(message);
            }
    }
}
